import { Image, Switch } from "antd";
import { EyeFilled } from "@ant-design/icons";

function getcolumns(enable) {
  return {
    columns: [
      {
        title: "角色名称",
        key: "name",
        dataIndex: "name",
        ellipsis: true,
        colProps: {
          span: 24,
        },
      },
    ],
    pathconfig: {
      enableadd: true,
      enableedit: true,
      enabledelete: true,
      enabledetail: true,
      add: "/role",
      edit: "/role",
      list: "/role",
      delete: "/role",
      detail: "",
    },
  };
}
export default getcolumns;
